package com.one.group.model.entity;


import java.io.Serializable;

import java.util.Date;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

/**
* 楼栋类型表
* @TableName sp_buildingtype
*/
@Table(value = "sp_buildingtype")
@Data
public class SpBuildingtype implements Serializable {

    /**
    * 楼栋类型id
    */
    @Id(keyType = KeyType.Auto)
    private Long id;
    /**
    * 名称
    */
    private String name;
    /**
    * 小区id
    */
    private Long cellId;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 更新时间
    */
    private Date updateTime;
    /**
    * 租户id
    */
    @Column(tenantId = true)
    private Long tenantId;
}
